#{extends 'main.html' /} 
#{set title:'Filter users'/}

#{if !permitted}
<h0> You are not allowed to filter users to invite them into the 
entity since you are either not the Organizer of the entity or the
Organization is not Secret.</h0>
#{/if}

#{else}

<h1>Please enter your filtration criteria</h1>
#{ifErrors}
<div class = "error">
<p class = "error">Oops</p>
   #{errors}
       <li>${error}</li>
   #{/errors}
#{/ifErrors}

#{form @UserController.doFilterUsers()}

name: <input type = "text" name = "name" id = "n"/><br />
Gender: <input type = "text" name = "gender" id = "g"> <br />
Email: <input type = "text" name = "email" id = "e"/><br />
<input type = "submit" value = "submit your criteria">
#{/form}

#{/else}

